{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="{:url('admin/thrid_app/index')}">第三方管理</a></li>
            <li class="layui-this">添加第三方</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/thrid_app/save')}" method="post">
                    <div class="layui-form-item">
                        <label class="layui-form-label">第三方ID</label>
                        <div class="layui-input-block">
                            <input type="text" name="app_id" value="" required  lay-verify="required" placeholder="请输入第三方ID" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">第三方秘钥</label>
                        <div class="layui-input-block">
                            <input type="text" name="app_secret" value="" required  lay-verify="required" placeholder="请输入第三方秘钥,,16至32个字符" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">第三方描述</label>
                        <div class="layui-input-block">
                            <input type="text" name="app_description" value="" placeholder="（选填）请输入第三方描述" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">权限</label>
                        <div class="layui-input-block">
                            <input type="text" name="scope" value="0" required  lay-verify="required" placeholder="请输入权限,多个已逗号分隔" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">权限描述</label>
                        <div class="layui-input-block">
                            <input type="text" name="scope_description" value="" placeholder="（选填）请输入权限描述" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="*">保存</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}